package org.cloud.doc;

import java.io.InputStream;
import java.util.List;

public interface StorageMgr {

	public abstract List<String> getDocumentList(String path);
	
	public Asset getDocumentByName(String path, String name)
			throws Exception;

	public String saveOrUpdate(String path, String subFolder,
			InputStream fileStream) throws Exception;
	
	public void close(Asset document);

}
